const http = uni.$u.http

// 1 获取3天天气情况
export const get3DaysTemperature = (params) => http.get('/v3/weather/daily.json', params, {
  custom: {
    auth: false,
    catch: true
  }
})
// 2 实时天气
export const getNowTemperature = (params) => http.get('/v3/weather/now.json', params, {
  custom: {
    auth: false,
    catch: true
  }
})
// 2 空气质量
export const getNowAir = (params) => http.get('/v3/air/now.json', params, {
  custom: {
    auth: false,
    catch: true
  }
})

